package it.stasbranger.myproject.service;

import it.stasbranger.myproject.domain.Requests;
import it.stasbranger.myproject.domain.Suppliers;
import it.stasbranger.myproject.domain.SuppliersHasRequests;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for SuppliersHasRequests entities
 * 
 */
public interface SuppliersHasRequestsService {

	/**
	 * Delete an existing SuppliersHasRequests entity
	 * 
	 */
	public void deleteSuppliersHasRequests(SuppliersHasRequests suppliershasrequests);

	/**
	 * Save an existing Suppliers entity
	 * 
	 */
	public SuppliersHasRequests saveSuppliersHasRequestsSuppliers(Integer suppliersIdsuppliers, Integer requestsIdrequests, Suppliers related_suppliers);

	/**
	 */
	public SuppliersHasRequests findSuppliersHasRequestsByPrimaryKey(Integer suppliersIdsuppliers_1, Integer requestsIdrequests_1);

	/**
	 * Return all SuppliersHasRequests entity
	 * 
	 */
	public List<SuppliersHasRequests> findAllSuppliersHasRequestss(Integer startResult, Integer maxRows);

	/**
	 * Delete an existing Suppliers entity
	 * 
	 */
	public SuppliersHasRequests deleteSuppliersHasRequestsSuppliers(Integer suppliershasrequests_suppliersIdsuppliers, Integer suppliershasrequests_requestsIdrequests, Integer related_suppliers_idsuppliers);

	/**
	 * Return a count of all SuppliersHasRequests entity
	 * 
	 */
	public Integer countSuppliersHasRequestss();

	/**
	 * Save an existing SuppliersHasRequests entity
	 * 
	 */
	public void saveSuppliersHasRequests(SuppliersHasRequests suppliershasrequests_1);

	/**
	 * Load an existing SuppliersHasRequests entity
	 * 
	 */
	public Set<SuppliersHasRequests> loadSuppliersHasRequestss();

	/**
	 * Delete an existing Requests entity
	 * 
	 */
	public SuppliersHasRequests deleteSuppliersHasRequestsRequests(Integer suppliershasrequests_suppliersIdsuppliers_1, Integer suppliershasrequests_requestsIdrequests_1, Integer related_requests_idrequests);

	/**
	 * Save an existing Requests entity
	 * 
	 */
	public SuppliersHasRequests saveSuppliersHasRequestsRequests(Integer suppliersIdsuppliers_2, Integer requestsIdrequests_2, Requests related_requests);
}